<table id="income_table" ref="TbPartnerIncome" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
		  	
		  
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"tbpiId")||fields=="*"||(!fields && true)}}' tdid="1" ref="tbpiId"   title="编号">
			 	编号
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"tbpiBrand")||fields=="*"||(!fields && true)}}' tdid="2" ref="tbpiBrand"   title="品牌">
			 	品牌
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"nickName")||fields=="*"||(!fields && true)}}' tdid="3" ref="nickName"   title="会员名称">
			 	会员名称
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"tbpiOrderNo")||fields=="*"||(!fields && true)}}' tdid="4" ref="tbpiOrderNo"   title="订单号">
			 	订单号
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"tbpiOrderType")||fields=="*"||(!fields && true)}}' tdid="5" ref="tbpiOrderType"   title="订单类型">
			 	订单类型
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"tbpiPartnerNickname")||fields=="*"||(!fields && true)}}' tdid="6" ref="tbpiPartnerNickname"   title="合伙人昵称">
			 	合伙人昵称
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"tbpiNickname")||fields=="*"||(!fields && true)}}' tdid="7" ref="tbpiNickname"   title="下单人昵称">
			 	下单人昵称
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"tbpiStreet")||fields=="*"||(!fields && true)}}' tdid="8" ref="tbpiStreet"   title="街道">
			 	街道
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"tbpiCity")||fields=="*"||(!fields && true)}}' tdid="9" ref="tbpiCity"   title="省市区">
			 	省市区
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"tbpiOrderTime")||fields=="*"||(!fields && true)}}' tdid="10" ref="tbpiOrderTime"   title="下单时间">
			 	下单时间
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"tbpiMoney")||fields=="*"||(!fields && true)}}' tdid="11" ref="tbpiMoney"   title="收益金额">
			 	收益金额
			 </td>
		 
		 
		 	
		 	
			
			
			
			<td  width="105"  class="operation" tdid="12" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.tbpiId}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.tbpiId}}"/>
			</td>
			
		    
			 
				<td lz:if='{{lz.idin(fields,"tbpiId")||fields=="*"||(!fields && true)}}' ref="tbpiId" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiId$ || item.tbpiId}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiBrand")||fields=="*"||(!fields && true)}}' ref="tbpiBrand" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.tbpiBrand}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/business/merchant.edit.html?key={{item.tbpiBrand}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.tbpiBrand$ || item.tbpiBrand}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"nickName")||fields=="*"||(!fields && true)}}' ref="nickName" class="inc {{index%2==0?'odd':'even'}}  ">
					 
					 
					 
					 
					 	{{item.nickName$ || item.nickName}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiOrderNo")||fields=="*"||(!fields && true)}}' ref="tbpiOrderNo" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiOrderNo$ || item.tbpiOrderNo}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiOrderType")||fields=="*"||(!fields && true)}}' ref="tbpiOrderType" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiOrderType$ || item.tbpiOrderType}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiPartnerNickname")||fields=="*"||(!fields && true)}}' ref="tbpiPartnerNickname" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiPartnerNickname$ || item.tbpiPartnerNickname}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiNickname")||fields=="*"||(!fields && true)}}' ref="tbpiNickname" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiNickname$ || item.tbpiNickname}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiStreet")||fields=="*"||(!fields && true)}}' ref="tbpiStreet" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiStreet$ || item.tbpiStreet}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiCity")||fields=="*"||(!fields && true)}}' ref="tbpiCity" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiCity$ || item.tbpiCity}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiOrderTime")||fields=="*"||(!fields && true)}}' ref="tbpiOrderTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiOrderTime$ || item.tbpiOrderTime}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbpiMoney")||fields=="*"||(!fields && true)}}' ref="tbpiMoney" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.tbpiMoney$ || item.tbpiMoney}}
					  
				</td>
		  
		  
		  	
		  	
			
			
			
			<td class="operation {{index%2==0?'odd':'even'}}">
				
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/partner/income.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				
				
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/partner/income.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>